package dataStructures.index;

import java.util.ArrayList;

public class IndexUtils {
	public static String SerializeCurrentPath(ArrayList<Integer> currentPath)
	{
		String path = "";
		
		for (int i = 0 ; i < currentPath.size() - 1 ; ++i)
		{
			path += (String.valueOf(currentPath.get(i))+"#");
		}
		
		if (currentPath.size() > 0)
		{
			path += String.valueOf(currentPath.get(currentPath.size()-1));
		}
		
		return path;
	}
}
